package com.yami.shop.bean.app.param;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author LHD on 2020/03/02
 */
@Data
@Schema(description = "发红包支付参数")
public class PayRedEnvelopParam {

    @Schema(description = "支付方式 (1:微信小程序支付 2:支付宝 3微信扫码支付 4 微信h5支付 5微信公众号支付 6支付宝H5支付 7支付宝APP支付 8微信APP支付 9余额支付)", required = true)
    private Integer payType = 1;

    @Schema(description = "支付密码", required = true)
    private String password;

    @Schema(description = "需要支付金额", required = true)
    private Double needAmount;

    @Schema(description = "红包总金额", required = true)
    private Double totalAmount;

    @Schema(description = "红包总个数")
    private Integer totalPacket = 1;

    @Schema(description = "红包标题")
    private String title = "恭喜发财,大吉大利";

    @Schema(description = "支付完成回跳地址")
    private String returnUrl;

    @Schema(description = "红包ID",hidden = true)
    private Long redPacketId;

}
